<div id="formsuccess" style="display:none">{if isset($errors.status) && $errors.status == "success"}{$link}{/if}</div>
<form id="deleteForm" name="form" action="?module=backoffice&action=block_DeleteGeneric" method="post" class="nyroModal">
{t assignTo=title}Delete confirmation{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}
<div id="modalContent">
    <table class="modalTable">
        <tr><th>{t 1=$doc->getLabel()}Are you sure you want to delete "%s" ?{/t}</th></tr>
        {if isset($messages)}
        {foreach from=$messages item=message}
        <tr><td>{icon name="warning.png"} {$message}</td></tr>
        {/foreach}
        {/if}

        <input type="hidden" name="docLang" value="{$doc->getLang()}" />
        <input type="hidden" name="docId" value="{$doc->getUniqueId()}" />
        <input type="hidden" name="recursive" value="{$recursive}" />
        <input type="hidden" name="refresh" value="{$refresh}" />
    </table>
</div>
{t assignTo=title}Delete{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html" label=$title onClickParam=""}
</form>